<template>
  <div class="nav">
    <slot name="title"><span></span></slot>
    <slot name="one"><button>添加配置</button></slot>
    <slot name="two"><button>编辑配置</button></slot>
    <slot name="three"><button>删除配置</button></slot>
    <slot name="four"></slot>
    <!-- <slot name="four"><button>退出</button></slot> -->
  </div>
</template>

<script>
export default {
  name: "",
  data() {
    return {};
  },
  methods: {},
  components: {},
};
</script>

<style scoped>
.nav {
  display: flex;
  height: 80px;
  justify-content: space-around;
  align-items: center;
  border-bottom: 1px solid black;
}
span {
  width: 60%;
  font-size: 20px;
}
button {
  width: 100px;
  height: 50px;
  border: none;
  outline: none;
  cursor: pointer;
  color: #fff;
  background-color: rgb(192, 51, 56);;
}
button:active {
  opacity: 0.8;
}
</style>